<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/flv.min.js"></script>
</head>
<body>
    <video id="videoPlayer" controls></video>
</body>
<script>
   if (flvjs.isSupported()) {
    var videoElement = document.getElementById('videoPlayer');
    var flvPlayer = flvjs.createPlayer({
      type: 'flv',
      url: 'http://example.com/video.flv' // 替换为你的 HTTP-FLV 视频的地址
    });
    flvPlayer.attachMediaElement(videoElement);
    flvPlayer.load();
    flvPlayer.play();
  } else {
    console.log("FLV.js is not supported on this browser.");
  }


</script>
</html>